import { useReducer } from 'react'

const useForceUpdate = () => {
  const [, forceUpdate] = useReducer(c => c + 1, 0)
  return forceUpdate
}
export default useForceUpdate
